package com.ruiysoft.controller.sys.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.springframework.validation.annotation.Validated;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by 化增光 on 2018/12/1.
 */
@Validated
@javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2018-11-18T19:25:09.477+08:00")
public class CalculationDto {

    @JsonProperty("shopId")
    private Long shopId;

    @JsonProperty("personnelId")
    private Long personnelId;

    @JsonProperty("amount")
    private BigDecimal amount;

    @JsonProperty("orderTime")
    private Date orderTime;

    public Long getShopId() {
        return shopId;
    }

    public CalculationDto setShopId(Long shopId) {
        this.shopId = shopId;
        return this;
    }

    public Long getPersonnelId() {
        return personnelId;
    }

    public CalculationDto setPersonnelId(Long personnelId) {
        this.personnelId = personnelId;
        return this;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public CalculationDto setAmount(BigDecimal amount) {
        this.amount = amount;
        return this;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public CalculationDto setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
        return this;
    }
}
